package com.qixiaobao.nondirect.invoice.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.qixiaobao.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Description 发票汇总（新） 实体类
 * @Author yangxm
 * @Date 2025/7/8 13:08
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
@ExcelIgnoreUnannotated
public class InvoiceStatisticNew extends BaseEntity {

    private Long id;
    @ColumnWidth(10)
    @ExcelProperty("序号")
    private Integer indexNo;
    /** 供应商全称 */
    @ExcelProperty("供应商全称")
    private String supplyName;
    /** 汇总月份 */
    @ExcelProperty("汇总月份")
    private String yearMonth;
    /** 实际付款单位 */
    private Long actualPayCompanyId;
    /** 实际付款单位名称 */
    @ExcelProperty("实际付款单位")
    private String actualPayCompanyName;
    /** 应开票金额 */
    @ExcelProperty("应开票金额")
    private BigDecimal payableInvoiceAmount;
    /** 实开票金额 */
    @ExcelProperty("实际开票金额")
    private BigDecimal actualInvoiceAmount;
    @ExcelProperty("未开票金额（含预付）")
    private BigDecimal monthlyUnbilledAmount;
    @ExcelProperty("当期应开票金额")
    private BigDecimal currentInvoicedAmount;
    @ExcelProperty("当期实际开票金额")
    private BigDecimal currentActualInvoiceAmount;
    @ExcelProperty("当期未开票金额")
    private BigDecimal currentUnbilledAmount;
    @ExcelProperty("上期未开票金额")
    private BigDecimal lastMonthUnbilledAmount;
    @ExcelProperty("当月欠票金额")
    private BigDecimal monthlyOweAmount;
}
